package com.wumz.spring.write.v2.demo.service;

/**
 * Created by wumz on 2020/9/26 13:41
 */
public interface IDemoService {

    String get(String name);

    /**
     * 增加
     */
    public String add(String name, String addr);

    /**
     * 修改
     */
    public String edit(Integer id, String name);

    /**
     * 删除
     */
    public String remove(Integer id);

    /**
     * 查询测试
     * @param name
     */
    void query(String name) throws Exception;
}
